package hx.pojo;

//员工
public class Employee {
    private String SN;              //员工编号
    private Integer positionId;       //职位id，外键，一个职位有多个员工
    private Integer departmentId;     //部门id 外键，一个部门有多个员工
    private String NAME;            //员工姓名
    private String PASSWORD;        //员工密码
    private String STATUS;          //状态

    private Position position;       //职位id，外键，一个职位有多个员工
    private Department department;     //部门id 外键，一个部门有多个员工

    public Employee() {
    }

    public Employee(String SN, Integer positionId, Integer departmentId, String NAME, String PASSWORD, String STATUS, Position position, Department department) {
        this.SN = SN;
        this.positionId = positionId;
        this.departmentId = departmentId;
        this.NAME = NAME;
        this.PASSWORD = PASSWORD;
        this.STATUS = STATUS;
        this.position = position;
        this.department = department;
    }

    public String getSN() {
        return SN;
    }

    public void setSN(String SN) {
        this.SN = SN;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getNAME() {
        return NAME;
    }

    public void setNAME(String NAME) {
        this.NAME = NAME;
    }

    public String getPASSWORD() {
        return PASSWORD;
    }

    public void setPASSWORD(String PASSWORD) {
        this.PASSWORD = PASSWORD;
    }

    public String getSTATUS() {
        return STATUS;
    }

    public void setSTATUS(String STATUS) {
        this.STATUS = STATUS;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }
}
